#ifndef __NCU_FUNC_H__
#define __NCU_FUNC_H__

#include <stdint.h>
typedef struct {
	int (*lock)();
	int (*unlock)();
	int (*write_reg)(uint32_t off, uint32_t reg);
	uint32_t  (*read_reg)(uint32_t off);
	void *(*get_params)(void);
} ncu_func_init_param;

int ncu_func_init(ncu_func_init_param *initp);
int ncu_func_bypass(int en);
int ncu_func_update(uint32_t gain);
int ncu_func_config(int width,int height);
/* default 100% */
int ncu_func_strength(int strength);
#endif
